package com.talkyun.openx.client.conn;

import java.util.HashMap;
import java.util.Map;

public class HttpResult {
    private Map<String, String> header = new HashMap<String, String>();
    private int status;
    private String result;

    public HttpResult(int status, String result) {
        this.status = status;
        this.result = result;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public Map<String, String> getHeaders() {
        return header;
    }

    public void setHeader(String key, String value) {
        header.put(key,value);
    }
}
